home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: How to make it BEEP ?
- Date: 22 Mar 1996 15:13:34 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4ivc6uINNkub@keats.ugrad.cs.ubc.ca>
- References: <4inmv1$ljj@sunburst.ccs.yorku.ca> <4is9tf$8o3@spanky.pls.ov.com> <4isdrcINNsq6@mayne.ugrad.cs.ubc.ca> <Pine.SOL.3.91.960322122122.4343B-100000@mercury>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <Pine.SOL.3.91.960322122122.4343B-100000@mercury>,
- Choy Kah Wai <93202816@mercury.np.ac.sg> wrote:
- >> No need to make that ascii specific. The C standard gives you a symbolic code
- >> for the alert character.
- >>
- >> putchar('\a');
- >> --
- >>
- >>
- >>
- > Or, just simply do:
- > putch(7);
- > (Borland compilers..)............................^_^
-
- You obviously did not hear what I said. I said there was way of doing it that
- is portable to even environments that don't use ASCII! And here you are ranting
- some B.S. about some Borland compiler and a function that isn't even part of
- standard C!
-
- The '\a' character has the value 7 in ascii, but may have a different value in
- some other character set.
-
- > The Chaotic C.H.A.O.S.
-
- Indeed...
-
- --
-
-